package com.finger.hospservice.service;

import com.finger.modelservice.model.hosp.Department;
import com.finger.modelservice.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    void save(Map<String, Object> paramMap);

    Page<Department> pageDepartment(int page, int size, String hoscode);

    void removeDepartment(String hoscode, String depcode);

    List<DepartmentVo> findDepartmentTree(String hoscode);

    String findDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);

}
